package com.zy.cat.entity.dev;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

/**
 * 
 * @info 9趣猫用户订单实体类
 * @author Link
 * @date 2019-11-18 09:14
 */
@Data
@RequiredArgsConstructor
@Builder
@ApiModel("9趣猫用户订单实体类")
public class CatDevOrderInfo {
	
	@ApiModelProperty(value = "子订单号", example = "615154241515")
	private String oid;

	@ApiModelProperty(value = "创建时间", example = "2019-02-22 12:56:56")
	private String ctime;
	
	@ApiModelProperty(value = "订单状态，（-1：已失效、0：即将到帐 、1.已到账）", example = "1")
	private int dstatus;
	
	@ApiModelProperty(value = "付款金额", example = "0")
	private String fmoney;
	
	@ApiModelProperty(value = "父订单号", example = "151505050")
	private String foid;
	
	@ApiModelProperty(value = "备注", example = "备注")
	private String info = "-";
	
	@ApiModelProperty(value = "订单结算时间", example = "订单结算时间")
	private String jtime;
	
	@ApiModelProperty(value = "最后更新时间", example = "2019-02-22 12:56:56")
	private String ltime;
	
	@ApiModelProperty(value = "用户账号ID", example = "8510241024543843")
	private String pid;
	
	@ApiModelProperty(value = "实际分成%", example = "40")
	private long rate;
	
	@ApiModelProperty(value = "商品图片", example = "")
	private String sicon;
	
	@ApiModelProperty(value = "商品ID", example = "")
	private String sid;
	
	@ApiModelProperty(value = "实际收入（分）", example = "0")
	private long sincome;
	
	@ApiModelProperty(value = "商品名称", example = "")
	private String sname;
	
	@ApiModelProperty(value = "填单时间", example = "2019-02-22 12:56:56")
	private String ttime;
	
	@ApiModelProperty(value = "预计收入（分）", example = "0")
	private long yincome;
	
	@ApiModelProperty(value = "订单类型，（0：手动填单、1：自动填单）", example = "1")
	private int dtype;
	
	@ApiModelProperty(value = "订单返利是否进行分享提升，（0：未提升 、1.已提升）", example = "1")
	private int pstatus;
	
	@ApiModelProperty(value = "订单类型（0.淘宝、1.拼多多、2.京东）", example = "0")
	private int otype;

	public CatDevOrderInfo(String oid) {
		super();
		this.oid = oid;
	}

	public CatDevOrderInfo(String oid, String ctime, int dstatus, String fmoney, String foid, String info, String jtime,
			String ltime, String pid, long rate, String sicon, String sid, long sincome, String sname, String ttime,
			long yincome, int dtype, int pstatus, int otype) {
		super();
		this.oid = oid;
		this.ctime = ctime;
		this.dstatus = dstatus;
		this.fmoney = fmoney;
		this.foid = foid;
		this.info = info;
		this.jtime = jtime;
		this.ltime = ltime;
		this.pid = pid;
		this.rate = rate;
		this.sicon = sicon;
		this.sid = sid;
		this.sincome = sincome;
		this.sname = sname;
		this.ttime = ttime;
		this.yincome = yincome;
		this.dtype = dtype;
		this.pstatus = pstatus;
		this.otype = otype;
	}
	
}
